package com.ruoyi.web.domain.incomeexpense;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 邮箱发送记录对象 tt_email
 * 
 * @author zq
 * @date 2024-01-13
 */
public class ZQEmail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "用户ID")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "邮箱")
    private String email;

    /** $column.columnComment */
    @Excel(name = "发送内容")
    private String substance;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setSubstance(String substance) 
    {
        this.substance = substance;
    }

    public String getSubstance() 
    {
        return substance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("email", getEmail())
            .append("substance", getSubstance())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
